#!/bin/bash

HADOOP=/home/tulinski/hadoop/hadoop-0.20.2/bin/hadoop

# MIGS_JAR=/home/tulinski/proba/biol/migs.jar
# MIGS_JAR=/cygdrive/c/cygwin/home/tulinski/proba/biol/migs.jar
# OK
# MIGS_JAR=C:\\cygwin\\home\\tulinski\\proba\\biol\\migs.jar
MIGS_JAR=cot.jar

# COMMONS_LANG=C:\\cygwin\\home\\tulinski\\proba\\biol\\lib\\commons-lang-2.5.jar
# COMMONS_IO=C:\\cygwin\\home\\tulinski\\proba\\biol\\lib\\commons-io-2.1.jar
# COMMONS_MATH=C:\\cygwin\\home\\tulinski\\proba\\biol\\lib\\commons-math-2.2.jar

COMMONS_LANG=C:/cygwin/home/tulinski/proba/biol/lib/commons-lang-2.5.jar
COMMONS_IO=C:/cygwin/home/tulinski/proba/biol/lib/commons-io-2.1.jar
COMMONS_MATH=C:/cygwin/home/tulinski/proba/biol/lib/commons-math-2.2.jar

# COMMONS_LANG=/home/tulinski/proba/biol/lib/commons-lang-2.5.jar
# COMMONS_IO=/home/tulinski/proba/biol/lib/commons-io-2.1.jar
# COMMONS_MATH=/home/tulinski/proba/biol/lib/commons-math-2.2.jar
LIBJARS=${COMMONS_LANG},${COMMONS_IO},${COMMONS_MATH}


# defaults
# mapred.job.tracker=local (mapred-default.xml)
# fs.default.name=file:/// (core-default.xml)

DATA_DIR=C:/cygwin/home/tulinski/data
INPUT_DIR=${DATA_DIR}/biol/input
OUTPUT_DIR=${DATA_DIR}/biol/output

${HADOOP} jar ${MIGS_JAR} tul.cot.job.Migrations \
	-in ${INPUT_DIR}/test10 \
	-pairs ${INPUT_DIR}/test10.pairs \
	-out ${OUTPUT_DIR}/test10 \
	-outLocal ${OUTPUT_DIR}/test10.local \
	-numTrees 10 \
	-startTime 35.0 \
	-numSeg 7


#	-libjars ${COMMONS_LANG},${COMMONS_IO},${COMMONS_MATH} \
